# -*-coding:utf-8 -*-
#
# Created on 2019/5/13, by felix
#

from rest_framework.routers import DefaultRouter

from apps.command.views import CommandInfoViewSet, CommandOwnerViewSet

router = DefaultRouter(trailing_slash=False)  # 不需要 /

# 100 基本的增删改查
router.register(r'info', CommandInfoViewSet, base_name='command-info')
router.register(r'owner', CommandOwnerViewSet, base_name='command-owner')

urlpatterns = router.urls
